<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<h:outputStylesheet library="css" name="default.css"  />
	<title>Cajero Automático</title>
</h:head>
<h:body>

	<h:form method="get">
		<h2>Cajero Automatico - RulenBank</h2>
		
		<h:panelGrid columns="2">
			Ingrese tarjeta:
			<h:inputText id="nroTarjeta" value="#{authentication.nroTarjeta}"/>
			
			Ingrese pin:
			<h:inputSecret id="pinTarjeta" value="#{authentication.pinTarjeta}" />
		</h:panelGrid>
		<h:panelGrid>
			<h:messages />
		</h:panelGrid>
		<h:panelGrid>
			<h:commandButton value="Login" action="#{authentication.login()}" />
		</h:panelGrid>
	</h:form>
</h:body>
</html>